package cn.edu.sdjzu.service.impl;

import cn.edu.sdjzu.entity.User;
import cn.edu.sdjzu.service.IUserService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
@Service
public class IuserService implements IUserService {
    @Override
    public List<User> findAll() {
        List<User> users = new ArrayList<>();
        users.add(new User("666","学生", "张三"));
        users.add(new User("888","学生", "李四"));
        return users;
    }
}
